\hypertarget{class_sprite}{
\section{Sprite Class Reference}
\label{class_sprite}\index{Sprite@{Sprite}}
}


{\ttfamily \#include $<$sprite.h$>$}

Inheritance diagram for Sprite:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_sprite}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_sprite_ac7ac6f08ba5d0bfb43793d9d0ca84ec7}{Sprite} (float aSize, \hyperlink{class_vectorf}{Vectorf} position, std::vector$<$ \hyperlink{class_animation}{Animation} $\ast$ $>$ aAnimations)
\item 
virtual void \hyperlink{class_sprite_aea0b93168a3264219b8f270cc1bcf157}{Display} ()
\begin{DoxyCompactList}\small\item\em Affiche le Rectangle dans une scene OpenGL. \item\end{DoxyCompactList}\item 
void \hyperlink{class_sprite_a5b206eac8cb357a15eebe585e83eaf5f}{InitTextureBuffer} ()
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{class_sprite_a744c192ff50b41d9831af9322fbf432f}{currentAnim}
\item 
std::vector$<$ \hyperlink{class_animation}{Animation} $\ast$ $>$ \hyperlink{class_sprite_ae0f5558e624aa1c05e5be83884d75316}{animations}
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_sprite_ac7ac6f08ba5d0bfb43793d9d0ca84ec7}{
\index{Sprite@{Sprite}!Sprite@{Sprite}}
\index{Sprite@{Sprite}!Sprite@{Sprite}}
\subsubsection[{Sprite}]{\setlength{\rightskip}{0pt plus 5cm}Sprite::Sprite (
\begin{DoxyParamCaption}
\item[{float}]{aSize, }
\item[{{\bf Vectorf}}]{position, }
\item[{std::vector$<$ {\bf Animation} $\ast$ $>$}]{aAnimations}
\end{DoxyParamCaption}
)}}
\label{class_sprite_ac7ac6f08ba5d0bfb43793d9d0ca84ec7}


\subsection{Member Function Documentation}
\hypertarget{class_sprite_aea0b93168a3264219b8f270cc1bcf157}{
\index{Sprite@{Sprite}!Display@{Display}}
\index{Display@{Display}!Sprite@{Sprite}}
\subsubsection[{Display}]{\setlength{\rightskip}{0pt plus 5cm}void Sprite::Display (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_sprite_aea0b93168a3264219b8f270cc1bcf157}


Affiche le Rectangle dans une scene OpenGL. 



Reimplemented from \hyperlink{class_rect_afe7479ce40216a8f570add95c478edc5}{Rect}.

\hypertarget{class_sprite_a5b206eac8cb357a15eebe585e83eaf5f}{
\index{Sprite@{Sprite}!InitTextureBuffer@{InitTextureBuffer}}
\index{InitTextureBuffer@{InitTextureBuffer}!Sprite@{Sprite}}
\subsubsection[{InitTextureBuffer}]{\setlength{\rightskip}{0pt plus 5cm}void Sprite::InitTextureBuffer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_sprite_a5b206eac8cb357a15eebe585e83eaf5f}


\subsection{Member Data Documentation}
\hypertarget{class_sprite_ae0f5558e624aa1c05e5be83884d75316}{
\index{Sprite@{Sprite}!animations@{animations}}
\index{animations@{animations}!Sprite@{Sprite}}
\subsubsection[{animations}]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<${\bf Animation} $\ast$ $>$ {\bf Sprite::animations}}}
\label{class_sprite_ae0f5558e624aa1c05e5be83884d75316}
\hypertarget{class_sprite_a744c192ff50b41d9831af9322fbf432f}{
\index{Sprite@{Sprite}!currentAnim@{currentAnim}}
\index{currentAnim@{currentAnim}!Sprite@{Sprite}}
\subsubsection[{currentAnim}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Sprite::currentAnim}}}
\label{class_sprite_a744c192ff50b41d9831af9322fbf432f}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
sources/displayable/\hyperlink{sprite_8h}{sprite.h}\item 
sources/displayable/\hyperlink{sprite_8cpp}{sprite.cpp}\end{DoxyCompactItemize}
